import { createApp } from 'vue'
import App from './App.vue'
import * as VueRouter from 'vue-router'
import Vant from 'vant';
import 'vant/lib/index.css';
import routes from "./config/route.ts";



const router = VueRouter.createRouter({
    history: VueRouter.createWebHistory(),
    routes,
})

const app=createApp(App);


// 3. 注册你需要的组件
app.use(Vant);
app.use(router)
app.mount('#app')